using System;
using System.Collections.Generic;
using System.Text;

namespace SharpMud.Net.Intermud3
{
    public class RouterDaemon
    {
        public event IntermudPacketEvent PacketSent
        {
            add
            {
            }
            remove
            {
            }
        }
        public event IntermudPacketEvent PacketReceived
        {
            add
            {
            }
            remove
            {
            }
        }
    }

    public delegate void IntermudPacketEvent(object sender, IntermudPacketEventArgs e);

    public class IntermudPacketEventArgs : System.EventArgs
    {
        private GenericPacket _Packet;
        
        public IntermudPacketEventArgs(GenericPacket packet)
        {
            if(packet==null)
                throw new ArgumentNullException("packet");
            _Packet = packet;
        }

        public GenericPacket Packet
        {
            get
            {
                return _Packet;
            }
        }
    }
}